<html>
<head><meta charset="utf-8"><title>stats/llvm_shutdown · t-compiler/wg-llvm · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187780-t-compiler/wg-llvm/index.html">t-compiler/wg-llvm</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187780-t-compiler/wg-llvm/topic/stats.2Fllvm_shutdown.html">stats/llvm_shutdown</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="228341855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187780-t-compiler/wg-llvm/topic/stats/llvm_shutdown/near/228341855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeff Muizelaar <a href="https://rust-lang.github.io/zulip_archive/stream/187780-t-compiler/wg-llvm/topic/stats.2Fllvm_shutdown.html#228341855">(Mar 02 2021 at 02:11)</a>:</h4>
<p>Is there anyway to get rustc to print the llvm stats? i.e. these things <a href="https://llvm.org/docs/ProgrammersManual.html#the-statistic-class-stats-option">https://llvm.org/docs/ProgrammersManual.html#the-statistic-class-stats-option</a>?</p>



<a name="228341901"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187780-t-compiler/wg-llvm/topic/stats/llvm_shutdown/near/228341901" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeff Muizelaar <a href="https://rust-lang.github.io/zulip_archive/stream/187780-t-compiler/wg-llvm/topic/stats.2Fllvm_shutdown.html#228341901">(Mar 02 2021 at 02:11)</a>:</h4>
<p>It looks other tools end up printing them from <code>llvm_shutdown()</code> but rustc doesn't seem to call that</p>



<a name="228485836"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187780-t-compiler/wg-llvm/topic/stats/llvm_shutdown/near/228485836" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/187780-t-compiler/wg-llvm/topic/stats.2Fllvm_shutdown.html#228485836">(Mar 02 2021 at 21:07)</a>:</h4>
<p>Yeah, I don't see a way either. Would be a nice feature to add. A caveat though is that it requires an assertion-enabled build, so it's not something most people would be able to use.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>